package com.wish.finance.controller;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageHelper;
import com.wish.common.core.usconfig.common.MsgResult;
import com.wish.finance.entity.TCwCheckBatch;
import com.wish.finance.entity.TCwCheckBatchVO;
import com.wish.finance.service.ITCwCheckBatchService;
import com.wish.finance.service.ITCwPayOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import org.springframework.stereotype.Controller;

/**
 * <p>
 * 对账批次表 前端控制器
 * </p>
 *
 * @author 
 * @since 2022-03-28
 */
@RestController
@RequestMapping("/checkbatch")
public class TCwCheckBatchController {

	@Autowired
	ITCwCheckBatchService cwCheckBatchService;


	@PostMapping("list")
	public MsgResult list(@RequestBody TCwCheckBatchVO vo){
		IPage<TCwCheckBatch> page = cwCheckBatchService.listAll(vo);
		return MsgResult.succeed(page);
	}


}
